package Day13;

public class Student {
    private String name;

    private String age;

    private String gender;

    public static String teacher;

    public Student() {
    }

    public Student(String name, String age, String gender,String teacher) {
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.teacher = teacher;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }


    public void study(){
        System.out.println( name +"正在学习");
    }

    public void show(){
        System.out.println(name + "," + age+"," + gender+","+ teacher);
    }
}
